﻿using System;
using System.Collections;
using Microsoft.BizTalk.Component.Interop;



namespace BizTalk.Archiving.PipelineComponents
{
    /// <summary>
    /// IComponentUI Implementation
    /// </summary>
    public partial class ArchiveComponent : IComponentUI
    {
        public IntPtr Icon
        {
            get { return new System.IntPtr(); }

        }
        /// <summary> 
        /// The Validate method is called by the BizTalk Editor during the build 
        /// of a BizTalk project. 
        /// </summary> 
        /// <param name="obj">An Object containing the configuration properties.</param> 
        /// <returns>The IEnumerator enables the caller to enumerate through a collection of strings containing error messages. These error messages appear as compiler error messages. To report successful property validation, the method should return an empty enumerator.</returns> 
        public IEnumerator Validate(object obj)
        {
            // example implementation: 
            ArrayList errorList = new ArrayList(); 
            // errorList.Add("This is a compiler error"); 
            return errorList.GetEnumerator(); 
        }
    }
}
